package com.ruoyi.hospital.entity.check;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.service.domain.ServicePackages;

@lombok.Data
public class CheckPackageItem {

    /** 耗材包ID */
    private Long packagesId;

    /** 耗材包代码 */
    //@Excel(name = "耗材包代码")
    //private String packagesCode;

    /** 耗材包名称 */
    @Excel(name = "耗材包名称")
    private String packagesName;

    /** 耗材包单价 */
    @Excel(name = "耗材包单价")
    private Long packagesPrice;

    public void init(ServicePackages packages) {
        this.packagesId = packages.getPackagesId();
        this.packagesName = packages.getPackagesName();
        //this.packagesCode = packages.getPackagesCode();
        this.packagesPrice = packages.getPackagesPrice();
    }
}
